/**
 * Created by hooper on 2017/7/30.
 */

//keys

var SUFFIX_KEYS = "suffix";

/*support suffix :
   suffixList:size[KB]
 */
var suffixList =  new Array(
        {suffix:'mp3',size:10},
    {suffix:'ape',size:100},
    {suffix:'flac',size:100},
    {suffix:'wav',size:100},
    {suffix:'wma',size:10},
    {suffix:'flv',size:10},
    {suffix:'f4v',size:10},
    {suffix:'hlv',size:10},
    {suffix:'m4a',size:10},
    {suffix:'mp4',size:10},
    {suffix:'3pg',size:10},
    {suffix:'ogg',size:10},
    {suffix:'letv',size:10},
    {suffix:'ts',size:10},
    {suffix:'webm',size:10},
    {suffix:'ogg',size:10},
    {suffix:'ogv',size:10},
    {suffix:'acc',size:10},
    {suffix:'omv',size:10}
);

var contentTypeList = ["video","audio","steam"];

/*mediaList structure
 tadId:对应tag
 name:文件名
 type:类型
 suffix:格式
 size：大小
 url:url
 responseHeader:
 */